<!-- // 预览页面 -->
<template>
  <Viewer ref="viewer" :flow="flow" :process-id="processId" mode="BIS" />
</template>
<script>
import Viewer from "./components/Viewer";
export default {
  components: { Viewer },
  props: {
    processId: {
      type: String,
      default: null,
    },
    flow: {
      type: Object,
      default: null,
    },
  },
  data() {
    return {};
  },
  methods: {
    refreshCanvas() {
      this.$refs.viewer.refreshCanvas();
    },
    initData() {
      this.$refs.viewer.initData();
    },
  },
  mounted() {},
};
</script>
<style scoped></style>
